home *** CD-ROM | disk | FTP | other *** search
- ; This is test of many of the features of the Installer
- ; Prints out debugging info if run from CLI
-
- (copylib
- (prompt "Copying 'xemrip.library' to the libs: directory.")
- (help @copylib-help)
- (source "libs/xemrip.library")
- (dest "libs:")
- (confirm)
- )
-
- (set fontdir
- (if (<= @user-level 1)
- ("fonts:")
- (askdir
- (prompt "Where should I store the bitmap fonts")
- (help @askdir-help)
- (default "fonts:")
- (disk)
- )
- )
- )
-
- (copyfiles
- (prompt "Copying all xem-fonts to FONTS: directory.")
- (help @copyfiles-help)
- (source "Fonts")
- (dest fontdir)
- (all)
- (fonts)
- )
-
- (set ripdir
- (askdir
- (prompt "Where should I store the rip files")
- (help "A directory \"Fonts\" and \"Icons\" will be created here.\n"
- "In the fonts directory the scalable fonts will be stored and\n"
- "in the icons directory the icons will be stored\n"
- "\n\n\n" @askdir-help)
- (default "sys:")
- (disk)
- )
- )
-
- (set ripdir
- (expandpath ripdir)
- )
-
- (set fontdir
- (tackon (ripdir) ("Fonts")
- )
- )
-
- (set icondir
- (tackon (ripdir) ("Icons")
- )
- )
-
- (makedir fontdir)
- (makedir icondir)
-
- (copyfiles
- (prompt "Copying scalable fonts to %s." fontdir)
- (help @copyfiles-help)
- (source "Rip/Fonts")
- (dest fontdir)
- (all)
- )
-
- (copyfiles
- (prompt "Copying rip icons to %s." icondir)
- (help @copyfiles-help)
- (source "Rip/Icons")
- (dest icondir)
- (all)
- )
-
- (if
- (askbool
- (prompt "Do you want to install the demo files")
- (help "It's up to YOU.")
- (choices "Yes yes yes yes" "Nuke 'Em")
- (default 0)
- )
- (copyfiles
- (prompt "Copying rip demo files to %s." ripdir)
- (help @copyfiles-help)
- (source "Rip")
- (dest ripdir)
- (files)
- (pattern "#?.rip")
- )
- )
-
- (startup "xemrip.library"
- (prompt
- "Some instructions need to be added to the \"S:user-startup\" so the xemrip.library can find its icons and fonts.")
- (help "No help for this function.")
- (command
- (cat "assign Rip: \"" ripdir "\"\n" )
- )
- )
-
- (makeassign "Rip" ripdir)
-
- (exit
- "Well, that's it\n"
- "Now you need to configure your terminal program\n"
- "The manual wil help you with that.\n\n"
- "bye bye\n"
- (quiet)
- )
-